﻿@using BrnMall.Manager.Domain.Store
@model BrnMall.Web.StoreAdmin.Models.StoreWxAppListModel

@section header{
    <title>小程序设置-店铺管理</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/showlist.js"></script>
}
@section body{
    <h1 class="rightH1">
        微信小程序 &gt; 店铺管理 &gt; <span class="rightH1-cur">小程序设置</span>
        <div class="right"><a href="@Url.Action("EditOrAddStoreWxApp")" class="menuBT"><img src="/admin_store/images/add.jpg" />添加</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>
    <div class="table_top"></div>

    <div class="dataList">
        <table width="100%">
            <thead>
            <tr>
                <th width="10%">编号</th>
                <th style="width:30%" align="left">小程序ID</th>
                <th style="width:15%" align="left">是否默认</th>
                <th style="width:15%" align="left">管理操作</th>
            </tr>
            </thead>
            <tbody>
            @foreach(StoreWxApp info in Model.Result)
            {
                <tr>
                    <td>@info.StoreWid</td>
                    <td>@info.WeAppId</td>
                   
                    <td>
                        @(info.IsDefault?"是":"否")
                    </td>
                    
                    <td>
                        <a href="@Url.Action("EditOrAddStoreWxApp", new { wid = info.StoreWid })" class="editOperate">修改</a>
                        <span class="btn-line">|</span>
                        <a href="@Url.Action("DeleteStoreWxapp", new { wid = info.StoreWid })" class="deleteOperate">删除</a>
                    </td>
                </tr>
            }
            </tbody>
        </table>
    </div>

    <div class="table_bottom"></div>
}